package com.company;

import java.io.IOException;

public class Main {

    public static void main(String[] args) throws IOException {
        String strPath = "C:\\Users\\liupeng\\Desktop\\同望\\test.mdb";
        //AccessUtils.CreateNewDataBase(strPath);
       // AccessUtils.CreateTable();

        AccessUtils.OpenDataBase(strPath);
        AccessUtils.OpenTable("NewTable");

        //更新数据库的数据
        AccessUtils.UpdateDataInfo("Fileld1",2,10);

        //添加
       // AccessUtils.AddRow(5);

        //删除指定的数据
        //AccessUtils.DeleteData("Fileld1",5);
        //AccessUtils.DeleteDataFormNorm("Fileld1",6);
        AccessUtils.Close();
        System.out.print("hello world");
    }
}
